Some versions of GCC are too stupid to figure out that cpufreq_dom is
only used if !!domexist and always set in that case, and complain that
it may be used uninitialised.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
unsigned int dom, domexist = 0;
unsigned int j;
struct list_head *pos;
- struct cpufreq_dom *cpufreq_dom;
+ struct cpufreq_dom *cpufreq_dom = NULL;
struct cpufreq_policy new_policy;
struct cpufreq_policy *policy;
struct processor_performance *perf = &processor_pminfo[cpu]->perf;